package com.dog.basics.dao.mtkj;

import com.dog.basics.bean.model.mtkj.MtGoodsEvaluate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品评价表 Mapper 接口
 * </p>
 *
 * @author wph
 * @since 2020-11-09
 */
public interface MtGoodsEvaluateMapper extends BaseMapper<MtGoodsEvaluate> {

    /**
     * @Description: 计算分数
     * @Param: ids
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/3/27 0027
     */
    Integer getScores(@Param("goodsId") Long goodsId,@Param("shopId") Long shopId);
}
